package top.whysu.rongcloud.api.dto.messages;

import io.rong.messages.BaseMessage;
import io.rong.util.GsonUtil;

public class InformationNtfMessage extends BaseMessage{
    private String message = "";
    private String extra = "";
    private static final transient String TYPE = "RC:InfoNtf";

    public InformationNtfMessage(String message, String extra) {
        this.message = message;
        this.extra = extra;
    }

    @Override
    public String getType() {
        return "RC:InfoNtf";
    }


    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getExtra() {
        return extra;
    }

    public void setExtra(String extra) {
        this.extra = extra;
    }

    @Override
    public String toString() {
        return GsonUtil.toJson(this, InformationNtfMessage.class);
    }
}
